package com.c611.smartclassroom.mapper.Ext;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface DeviceMapperExt {

    @Update("UPDATE t_device SET classroomID=#{newId} WHERE classroomID=#{oldId}")
    void updateClassRoomIdOther(@Param("newId") String newId, @Param("oldId") String oldId);
}
